
/*
  The contents of this file are subject to the Mozilla Public License Version
  1.1 (the "License"); you may not use this file except in compliance with
  the License. You may obtain a copy of the License at 
  http://www.mozilla.org/MPL/ 
  
  Software distributed under the License is distributed on an "AS IS" basis,
  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  for the specific language governing rights and limitations under the License. 
  
  The Original Code is core2: ECMAScript core objects 2nd gig AS2. 
  
  The Initial Developer of the Original Code is
  Zwetan Kjukov <zwetan@gmail.com>.
  Portions created by the Initial Developer are Copyright (C) 2003-2006
  the Initial Developer. All Rights Reserved.
  
  Contributor(s):
*/

import buRRRn.ASTUce.*;

class Tests.core2.DateTest extends TestCase
    {
    
    function DateTest( name:String )
        {
        super( name );
        }
    
    function testConstructor()
        {
        //DAT_000
        }
    
    function testClone()
        {
        var dat1, dat2;
        
        dat1 = new Date();
        dat2 = dat1.clone();
        
        assertSame( dat1, dat2,   "DAT_001a" );
        assertEquals( dat1, dat2, "DAT_001b" );
        }
    
    function testCopy()
        {
        var dat1, dat2;
        
        dat1 = new Date();
        dat2 = dat1.copy();
        
        assertEquals( dat1, dat2,  "DAT_002a" );
        assertNotSame( dat1, dat2, "DAT_002b" );
        }
    
    function testEquals()
        {
        var dat1, dat2, dat3, dat4;
        
        dat1 = new Date();
        dat2 = dat1.copy();
        dat3 = new Date( 2005, 03, 21 );
        dat4 = new Date( 2005, 03, 30 );
        
        assertEquals( dat1, dat2,       "DAT_003a" );
        assertFalse( dat3.equals(dat4), "DAT_003b" );
        }
    
    function testGetSetDate()
        {
        //DAT_004
        }
    
    function testGetDay()
        {
        //DAT_005
        }
    
    function testGetSetFullYear()
        {
        //DAT_006
        }
    
    function testGetSetHours()
        {
        //DAT_007
        }
    
    function testGetSetMilliseconds()
        {
        //DAT_008
        }
    
    function testGetSetMinutes()
        {
        //DAT_009
        }
    
    function testGetSetMonth()
        {
        //DAT_010
        }
    
    function testGetSetSeconds()
        {
        //DAT_011
        }
    
    function testGetSetTime()
        {
        //DAT_012
        }
    
    function testGetTimezoneOffset()
        {
        //DAT_013
        }
    
    function testGetSetUTCDate()
        {
        //DAT_014
        }
    
    function testGetUTCDay()
        {
        //DAT_015
        }
    
    function testGetSetUTCFullYear()
        {
        //DAT_016
        }
    
    function testGetSetUTCHours()
        {
        //DAT_017
        }
    
    function testGetSetUTCMilliseconds()
        {
        //DAT_018
        }
    
    function testGetSetUTCMinutes()
        {
        //DAT_019
        }
    
    function testGetSetUTCMonth()
        {
        //DAT_020
        }
    
    function testGetSetUTCSeconds()
        {
        //DAT_021
        }
    
    function testStaticParse()
        {
        //DAT_022
        }
    
    function testToGMTString()
        {
        //DAT_023
        }
    
    function testToSource()
        {
        var dat1, str1;
        
        dat1 = new Date( 2005, 03, 30 );
        str1 = "new Date(2005,3,30)";
        
        assertEquals( dat1.toSource(), str1, "DAT_024" );
        }
    
    function testToString()
        {
        //DAT_025
        }
    
    function testToUTCString()
        {
        //DAT_026
        }
    
    function testStaticUTC()
        {
        //DAT_027
        }
    
    }

